package com.i2works.smartluolong.web.service.cart;

import com.i2works.smartluolong.utils.basecommon.BaseCommonService;
import com.i2works.smartluolong.utils.exception.ServiceException;
import com.i2works.smartluolong.web.entity.cart.CartReceiveDO;
import com.i2works.smartluolong.web.entity.cart.CartReceiveQuery;

import java.util.List;

/**
 * 执照领取记录表
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/5/22 11:51
 */

public interface ICartReceiveService extends BaseCommonService<CartReceiveQuery, CartReceiveDO> {

    /**
     * 根据身份证查询执照领取记录列表
     */
    List<CartReceiveDO> queryCartListByIdcard(CartReceiveQuery query) throws ServiceException;

    /**
     * 根据身份证查询执照领取记录列表数量
     */
    Integer queryCartListByIdcardCount(CartReceiveQuery query) throws ServiceException;
}
